﻿using AdminSystem.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AdminSystem.Domain
{
    /// <summary>
    /// 屠宰表
    /// </summary>
    public class Slaughter : BaseClass
    {
        /// <summary>
        /// 屠宰编号
        /// </summary>
        [Key]
        public int SlaughterId { get; set; }
        /// <summary>
        /// 溯源编号
        /// </summary>
        [StringLength(50)]
        public string TraceabilityId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        [StringLength(50)]
        public string Batch { get; set; }
        /// <summary>
        /// 到场均重
        /// </summary>
        public int PresentWeight { get; set; }
        /// <summary>
        /// 到场均重
        /// </summary>
        public DateTime PresentData { get; set; }
        /// <summary>
        /// 到场时间
        /// </summary>
        public DateTime SlaughterData { get; set; }
        /// <summary>
        /// 相关资质照片
        /// </summary>
        [StringLength(50)]
        public string SlaughterPic { get; set; }
    }
}
